import java.net.*;
import java.rmi.*;


public class CalculatorServer {
	
	 public static void main(String args[]) throws RemoteException, MalformedURLException {
	
		 Calculator calc=new CalculatorImpl();
		 Naming.rebind("calc", calc);
		 
	 }
}